@layout("/common/_container.html"){
<link rel="stylesheet" href="${ctxPath}/static/css/plugins/combo.select.css">
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal" id="CounterplanTypeTemplateInform">

            <input type="hidden" id="id" value="">

            <div class="row">
                <div class="col-sm-6 b-r">
                    <#input id="name" name="预案模板名称" underline="true"/>
                    <#select id="type" name="类型" underline="true"  onchangeFun="CounterplanTemplateInfoDlg.changeType()">
                        <option value>请选择</option>
                        @for(item in counterplantypes){
                        <option value="${item.type}" >${item.type}</option>
                        @}

                    </#select>
                    <!--<#selectDict id="type" name="类型" underline="true" code="counterplanType" onchangeFun="CounterplanTemplateInfoDlg.changeType()"/>-->
                    <#input id="accidentTypeName" name="事故类型" underline="true"
                    hidden="accidentTypeId"
                    clickFun="CounterplanTemplateInfoDlg.showAccidentTypeSelectTree(); return false;"
                            onkeyup="CounterplanTemplateInfoDlg.AutoMatchAccidentTypeSelectTree(this); return false"
                    style="background-color: #ffffff !important;"
                    selectFlag="true" selectId="accidentTypeTreeDiv" selectTreeId="accidentTypeTree" selectStyle="width:244px !important;"/>
                    <!--<#uploadBtn name="预案模板导入" icon="fa-upload" id="uploadBtnId" />-->
                </div>

                <div class="col-sm-6">
                    <#selectDict id="level" name="响应等级" underline="true" code="responseLevel"/>

                    <#input id="stationSel" name="地点" underline="true"
                    hidden="stationId"
                    clickFun="CounterplanTemplateInfoDlg.showStationSelectTree(); return false;"
                            onkeyup="CounterplanTemplateInfoDlg.AutoMatchStationSelectTree(this); return false"
                    style="background-color: #ffffff !important;"
                    selectFlag="true" selectId="stationTreeDiv" selectTreeId="stationTree" selectStyle="width:244px !important;"/>
                    <input type="hidden" id="checkCount" value="0">
                    <#input id="accidentMain" name="岗位" underline="true"
                            readonly="readonly"
                            clickFun="CounterplanTemplateInfoDlg.showPositionStatementSelectTree(); return false;"
                            style="background-color: #ffffff !important;"
                            selectFlag="true" selectId="parentTreeDiv" selectTreeId="parentTree" selectStyle="width:244px !important;"/>


                </div>
            </div>

            <!-- 加载编辑器的容器 -->
            <#ue id="content"/>

            <div class="row btn-group-m-t">
                <div class="col-sm-10">
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check"
                    clickFun="CounterplanTemplateInfoDlg.addSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser"
                    clickFun="CounterplanTemplateInfoDlg.close()"/>
                </div>
            </div>
        </div>

    </div>
</div>
<script src="${ctxPath}/static/modular/yjya/counterplanTemplate/counterplanTemplate_info.js"></script>
@}
